/*
 * @Author: daifen
 * @Date: 2020-07-02 10:16:14
 * @LastEditors: daifen
 */
import commonRadio from '../components/zrd/commonRadio';
import commonSelect from '../components/zrd/commonSelect';

const components = [commonRadio, commonSelect];

const component = {
    install: function (Vue) {
        components.map(component => {
            Vue.component(component.name.replace(/([A-Z])/g,"-$1").toLowerCase(), component)
        })
    }

}
  
// // 导出该组件
export default component